/* 这个文件保存了各种错误信息的常量 */
const USERNAME_OR_PASSWORD_IS_REQUIRED = "username_or_password_is_required"
const USERNAME_IS_ALREADY_EXISTS = "username_is_already_exists"
const USERNAME_IS_NOT_EXISTS = "username_is_not_exists"
const PASSWORD_IS_INCORRECT = "password_is_incorrect"
const UNAUTHORIZATION = "unauthorization"
const NOT_TOKEN = "not_token"
const PARAMS_INCORRECT = "parmas_incorrect" // 参数错误
const OPERATION_IS_NOT_ALLOWED = "operation_is_not_allowed" //不允许越过权限

module.exports = {
  USERNAME_OR_PASSWORD_IS_REQUIRED,
  USERNAME_IS_ALREADY_EXISTS,
  USERNAME_IS_NOT_EXISTS,
  PASSWORD_IS_INCORRECT,
  UNAUTHORIZATION,
  NOT_TOKEN,
  PARAMS_INCORRECT,
  OPERATION_IS_NOT_ALLOWED,
}
